package com.zxw.user.service;

import com.zxw.user.domain.entity.RoleButton;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zxw.user.domain.vo.RoleButtonUpdateVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-02-27
 */
public interface RoleButtonService extends IService<RoleButton> {

    Map<String, Map> getRoleBtnByRoleName(List<String> roleNames);

    List<Long> getBtnIdsByRoleIdAndMenuId(Long roleId, Long menuId);


    void batchUpdate(RoleButtonUpdateVO roleButtonUpdateVO);


}
